package cn.wolfcode.crm.util;

import cn.wolfcode.crm.domain.Employee;
import org.apache.shiro.SecurityUtils;

public class UserContext {




    public static Employee getCurrentUser(){
        return (Employee) SecurityUtils.getSubject().getPrincipal() ;
    }


}
